package com.sn.controller;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by qingshengzheng on 18/4/23.
 */
@Controller
@EnableAutoConfiguration
public class MainController {
    @RequestMapping(value = "/")
    @ResponseBody
    public Object helloword() {
        return "helloword";
    }
}
